/**
 * 产品品类相关接口
 */
import makeApi from './index';

export const defaultData = {
	query: {
		searchCount: true,
		openSort: true,
		isAsc: false,
		orderByField: 'utime',
		size: 10000
	}
};

const api = {
	query: '/product/productCategory/page',
	create: '/product/productCategory/add',
	update: '/product/productCategory/update',
	remove: '/product/productCategory/delete'
};

const services = makeApi(api);

const {
	query,
	create,
	update,
	remove,
} = services;

export {
	query,
	create,
	update,
	remove,
};
export default services;
